﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="CustomerService.aspx.cs"
    Inherits="ITOMMS.Web.ReportCenter.CustomerService" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../css/layout.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" id='skin' type="text/css" href="../css/skin/qq/ymPrompt.css" />
    <link rel="stylesheet" id='Link1' type="text/css" href="../css/jquery.Validator.Tooltip.css" />
 
    <script type="text/javascript" src="../js/jquery.pack.js"></script>

    <script type="text/javascript" src="../js/jquery.Validator.js"></script>

    <script type="text/javascript" src="../js/ymPrompt.js"></script>

    <script type="text/javascript" src="../reportcenter/reportcenter.js" charset="gb2312"></script>

    <script language="javascript" type="text/javascript" src="../js/My97DatePicker/WdatePicker.js"></script>

</head>
<body>
    <form id="form1" runat="server">
     <div id="content1" style="background: url(../images/bg_sl.PNG); height: 428px;">
        <div style="float: left;">
            请选择年份：
            <select id="Select1" onchange="ajaxGetTroulbeofYear(Select1.value,'troubleOfYear')">
                <option value="2009" selected="selected">2009</option>
                <option value="2010">2010</option>
                <option value="2011">2011</option>
                <option value="2012">2012</option>
                <option value="2013">2013</option>
                <option value="2014">2014</option>
                <option value="2015">2015</option>
                <option value="2016">2016</option>
                <option value="2017">2017</option>
                <option value="2018">2018</option>
                <option value="2019">2019</option>
                <option value="2020">2020</option>
            </select>
            <div id="troubleOfYear">
            </div>
        </div>
        <div id="line" style="float: left; background-image: url('../images/line01.gif');
            height: 292px; width: 5px;">
        </div>
        <div style="float: left;">
            请选择时间：<input id="txtQueryDate" type="text" onfocus="WdatePicker({isShowWeek:true,skin:'blue'})"
                onchange="" />
            <div id="troubleOfWeek">
            </div>
        </div>
        </div>
    </form>
</body>
</html>
    
<script>



$("#txtQueryDate").val(showdate(0));//设置为当前时间      
var myDate = new Date();
ajaxGetTroulbeofYear(myDate.getFullYear(),"troubleOfYear")
ajaxGetTroulbeofYear($("#txtQueryDate").val(),"troubleOfWeek");


$("input[@type='text'][@id='txtQueryDate']").change( function() {

   ajaxGetTroulbeofYear($("#txtQueryDate").val(),"troubleOfWeek");
}); 

</script>

